﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Webapi.EFCore.IRepository;
using Webapi.EFCore.IRepository.Base;
using Webapi.EFCore.IService;
using Webapi.EFCore.Model;
using Webapi.EFCore.Model.Enity;
using Webapi.EFCore.Service.Base;

namespace Webapi.EFCore.Service
{
    /// <summary>
    /// 角色Role服务
    /// </summary>
    [Service]
    public class RoleService : BaseService<Role>, IRoleService
    {
        /// <summary>
        /// 构造函数,注入仓储
        /// </summary>
        /// <param name="roleRepository"></param>
        public RoleService(IRoleRepository roleRepository, IUnitOfWork uow) :
            base(roleRepository)
        {
        }
    }
}
